home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000074_fdc@columbia.edu_Tue May 13 16:57:42 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  51 lines

  1. Article: 14295 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: making kermit exit to the cmd prompt
  6. Date: 13 May 2003 16:57:32 -0400
  7. Organization: Columbia University
  8. Lines: 34
  9. Message-ID: <b9rm7s$4tv$1@watsol.cc.columbia.edu>
  10. References: <pan.2003.05.13.15.46.19.79295.24789@armadillo.itg.ti.com> <pan.2003.05.13.15.49.42.267491.24789@armadillo.itg.ti.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1052859453 6554 128.59.39.139 (13 May 2003 20:57:33 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 13 May 2003 20:57:33 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14295
  16.  
  17. In article <pan.2003.05.13.15.49.42.267491.24789@armadillo.itg.ti.com>,
  18. David Huff  <dhuff@armadillo.itg.ti.com> wrote:
  19. : On Tue, 13 May 2003 15:46:19 -0500, David Huff wrote:
  20. : > I've got a kermit session that I'd like to have exit to the Unix cmd
  21. : > prompt in the following circumstances:
  22. : > 
  23. : > 1) invoke kermit with a file of SET cmds, with the ANSWER cmd as the
  24. : > last one in the file. So it's just sitting there waiting for someone to
  25. : > dial-in.
  26. : > 
  27. : > 2) once another kermit session dials-in, it may or may not send a file.
  28. : > however, the remote kermit will issue the HANGUP cmd to break the
  29. : > connection.
  30. : > 
  31. : > 3) at this point, I'd like the kermit session in item 1) above to EXIT
  32. : > and drop bake to the Unix cmd prompt.
  33. : > 
  34. : > AllI've tried
  35. : darn it, hit 'post' before I was done ;) Anyways, all this should happen
  36. : w/o any user interaction. I've tried it like this:
  37. :   kermit setparams.ksc -E
  38. : but when the remote kermit hangs up, I'm still at the kermit prompt. Am I
  39. : simply not understanding what '-E' does ?
  40. It's for use when making connections.  Theoretically it should also work
  41. when *receiving* connections, but I'm not sure that was ever tried before
  42. now.  Anyway, why not just put EXIT commands at the appropriate points in
  43. your script?
  44.  
  45. - Frank
  46.